﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MetaWeblogException.cs" company="ecblog.codeplex.com">
//   emrecoskun.net - ibrahimatay.org
// </copyright>
// <summary>
//   Meta Weblog Exception
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace EcBlog.Api.MetaWeblog
{
    using System;

    /// <summary>
    /// Meta Weblog Exception
    /// </summary>
    [Serializable]
    public class MetaWeblogException : Exception
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="MetaWeblogException"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        public MetaWeblogException(string message)
            : base(message)
        {
           Elmah.ErrorSignal.FromCurrentContext().Raise(this);
        }
    }
}